/**
 * Project Name:ecsmts_mina
 * File Name:KeepAliveRequestTimeoutHandlerImpl.java
 * Package Name:com.aliyun.server.heartbeat
 * Date:2013-7-22下午1:48:17
 * Copyright (c) 2013, 13940488705@163.com All Rights Reserved.
 *
 */

package com.aliyun.server.heartbeat;

import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.keepalive.KeepAliveFilter;
import org.apache.mina.filter.keepalive.KeepAliveRequestTimeoutHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.aliyun.server.MinaServer;

/**
 * ClassName:KeepAliveRequestTimeoutHandlerImpl <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: 2013-7-22 下午1:48:17 <br/>
 * 
 * @author zhangfeng
 * @version
 * @since JDK 1.6
 * @see
 */
public class KeepAliveRequestTimeoutHandlerImpl implements KeepAliveRequestTimeoutHandler {
	private static final Logger LOG = LoggerFactory
			.getLogger(KeepAliveRequestTimeoutHandlerImpl.class);

	/*
	 * (non-Javadoc)
	 * 
	 * @seeorg.apache.mina.filter.keepalive.KeepAliveRequestTimeoutHandler#
	 * keepAliveRequestTimedOut
	 * (org.apache.mina.filter.keepalive.KeepAliveFilter,
	 * org.apache.mina.core.session.IoSession)
	 */
	@Override
	public void keepAliveRequestTimedOut(KeepAliveFilter filter,
			IoSession session) throws Exception {
		((Logger) LOG).info("心跳超时！");
	}

}
